package com.hotel.model.auto;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author
 * @since 2023-04-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class RoomClass extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 房间id
     */
    private Integer id;

    /**
     * 房间类型id
     */
    private String  name;


    /**
     * 房间类型id
     */
    private Integer  roomTypeId;

    /**
     * 房间号
     */
    private Integer roomId;

    /**
     * 房间状态
     */
    private String state;

    /**
     * 创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;


}
